<?php if ($this->pageCount): ?>
<div class="pagination">
	<ul>
		<?php if (isset($this->previous)): ?>
		    <li><a href="<?php echo $this->url(array('page' => $this->previous)); ?>">&lt; Anterior</a><li>  
		<?php else: ?>
		    <li><span>&lt; Anterior</span></li> 
		<?php endif; ?>
		 
		<?php foreach ($this->pagesInRange as $page): ?>
		    <?php if ($page != $this->current): ?>
		        <li><a href="<?php echo $this->url(array('page' => $page)); ?>">
		            <?php echo $page; ?>
		        </a></li>
		    <?php else: ?>
		        <li><span><?php echo $page; ?></span></li> 
		    <?php endif; ?>
		<?php endforeach; ?>
		 
		<?php if (isset($this->next)): ?>
		    <li><a href="<?php echo $this->url(array('page' => $this->next)); ?>">
		        Proxima &gt;
		    </a></li>
		<?php else: ?>
		    <li><span>Proxima&gt;</span></li>
		<?php endif; ?>
	</ul>
</div>
<?php endif; ?>